﻿<%@ Page Title="Страница сотрудника" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Person.aspx.cs" Inherits="DepartmentOnline.Person" %>
<%@ Register TagPrefix="asp" Namespace="BasicFrame.WebControls" Assembly="BasicFrame.WebControls.BasicDatePicker, Version=1.4.3.40829, Culture=neutral, PublicKeyToken=e1cce521aa9b4849" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <!--<i class="icon-arrow-left-3 float-left" style="font-size:48px; padding:0px 10px 5px 0px;"></i>-->
            <hgroup class="title">
                <h1><%: CurrentName %>.</h1>
                <h3>Страница сотрудника.</h3>
            </hgroup>

        </div>
    </section>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <article>
        <asp:Literal ID="lbDescription" runat="server" Text=""></asp:Literal>
        <asp:GridView ID="PublGrid" runat="server" AllowSorting="True"  DataKeyNames="Id">
        </asp:GridView>
        <asp:TextBox ID="PNameTB" runat="server" ToolTip="Название публикации"></asp:TextBox>
        <asp:BasicDatePicker runat="server" ID="PDatePicker"></asp:BasicDatePicker>
        <asp:Button ID="addPub" runat="server" Text="Добавить публикацию" OnClick="AddPublication"/>
        <asp:GridView ID="TaskGrid" runat="server" AllowSorting="True" DataKeyNames="Id">
        </asp:GridView>
        <asp:TextBox ID="TTopicTB" runat="server" ToolTip="Тема"></asp:TextBox><asp:TextBox ID="TDescTB" runat="server" ToolTip="Описание"></asp:TextBox><asp:Button ID="Button1" runat="server" Text="Добавить задание" OnClick="AddTask" />
        <asp:EntityDataSource ID="StaffDS" runat="server" ConnectionString="name=departmentEntities" DefaultContainerName="departmentEntities" EnableDelete="True" EnableFlattening="False" EnableInsert="True" EnableUpdate="True" EntitySetName="Instructors" EntityTypeFilter="Instructor">
        </asp:EntityDataSource>
    </article>
    <aside>
        <asp:Image ID="imgPhoto" runat="server" ImageUrl="<%$ Code: def %>" Width="200" />
    </aside>
</asp:Content>
